import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
import MyLib from '../packages'
// 组件单独引入使用
// import { WMessage } from '../packages'
// Vue.use(WMessage)


// 开发环境若需要走mock挡板，将注释去掉即可 development-开发 production-生产
import {mockXHR} from '../mock'
if (process.env.NODE_ENV === 'development') {
  mockXHR()
}

Vue.use(VueAxios, axios)

Vue.use(MyLib)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
